ci: publish the runtime image to GHCR - #5
Merged
Merged
Conversation
Hosts such as Unraid pull a registry image rather than building locally, and this repo had no workflow that produced one. Every push to main that touches the package refreshes `main` and a `sha-*` tag. `latest` and the version tag move only when the package version changes, which is the "Version Packages" merge the release workflow publishes from, so the image and the npm release come from the same commit. A manual dispatch can force the release tags. The push uses Docker manifest media types with attestations disabled: Unraid's update check does not accept a bare OCI manifest and trips over attestation entries, and a single-platform buildx push emits exactly that unless told otherwise. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Hosts such as Unraid pull a registry image rather than building locally, and this repo had no workflow that produced one. Follow-up to the four hardening PRs (#1 to #4) from Agent Room
AM-PJ5JXM25UMCHU2UFJHXFSWBN9J.What
.github/workflows/docker.yml: buildspackages/context/Dockerfileand pushes toghcr.io/teejs/context.mainthat touches the package refreshesmainand asha-<short>tag.latestand<version>move only when the package version changes, which is the "Version Packages" merge the release workflow publishes from, so the image and the npm release come from the same commit.workflow_dispatchwithtag_releaseforces the release tags.GITHUB_TOKEN, and GitHub never starts another workflow from those pushes.oci-mediatypes=falsewithprovenanceandsbomoff: Unraid's update check does not accept a bare OCI manifest and trips over attestation entries, and a single-platform buildx push emits exactly that unless told otherwise.After merge
main+sha-*tags only).tag_releasechecked to publishlatestand1.2.4.docker loginon the host.🤖 Generated with Claude Code